<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>袁衣一中国</title>
<load type="css" href='__PUBLIC__/Css/home.css' />
<script type="text/javascript">
String.prototype.trim=function(){
    return this.replace(/(^\s*)|(\s*$)/g, "");
}
String.prototype.ltrim=function(){
    return this.replace(/(^\s*)/g,"");
}
String.prototype.rtrim=function(){
    return this.replace(/(\s*$)/g,"");
}
function search(){
	var type=1;
	for(i=0;i<document.getElementsByName('storeType').length;i++)
	{
		if(document.getElementsByName('storeType')[i].checked)
		{
			type = i;
		}
	}
	window.location = "__APP__"+"/Search?kw="+encodeURI(document.getElementById('kw').value)+"&type="+document.getElementsByName('storeType')[type].value;
}
function login(){
	if(document.getElementsByName('account')[0].value.trim().length==""){
		alert("用户名不能为空！");
		return;
	}else if(document.getElementsByName('password')[0].value.trim().length==""){
		alert("用户名不能为空！");
		return;
	}
	document.getElementById('formLogin').submit();
}
</script>
</head>

<body>
<div class="index_header">
<div style="float:left">
<form method="post" id="formLogin" name="formLogin" action="__APP__/Index/login" >
	<span style="margin-left:10px;">账号：</span><input type="text" name="account" value="{$account}" size=20/>
    <span>密码：</span><input type="password" name="password" size=20/>
     <a href="javascript:login();"><span style="margin-left:10px;">登录</span></a>
    <a href="__APP__/Register"><span style="margin-left:10px;">账号申请</span></a>
    <a href="__APP__/Index/findpsw"><span style="margin-left:10px;">密码找回</span></a>
</form>
</div>
<div><span style="float:right;margin-right:10px;">一生活•每一天</span></div>
</div>
<div style="height:20px;width:100%">
	<span id="errmsg" class="errmsg">{$errmsg}</span>
</div>
<div class="search" style="float:left;">
	<div class="logo">
    	<img src="__PUBLIC__/Images/logo.png"/><span>门店</span> <span>店商</span><span>服务</span>
    </div>
    <div class="searchForm">
    	<input id="kw" type="text" name="search" onkeydown='if(event.keyCode==13){javascript:search();}' value="{$kw}"/><input style="height:30px" type="button" onclick="javascript:search();" value="搜&nbsp;索"/>
    </div>
    <div class="searchRadio">
    	<input type="radio" id="m" name="storeType" <if condition="$type eq 1">checked="checked"</if> value="1" /><label for="m" class="custfont">门店商</label>&nbsp;&nbsp;&nbsp;
        <input type="radio" id="p" name="storeType" <if condition="$type eq 2">checked="checked"</if>  value="2" /><label for="p" class="custfont">批发商</label>&nbsp;&nbsp;&nbsp;
        <input type="radio" id="f" name="storeType" <if condition="$type eq 3">checked="checked"</if>  value="3" /><label for="f" class="custfont">服务商</label>&nbsp;&nbsp;&nbsp;
    </div>
    <div class="gg">
    	<span>看家狗门店</span><span>家家狗店商</span><span>狗狗服务</span>
    </div>
    <div class="line"></div>
    <div style=" float:left;font-weight:900;text-align: right;width: 560px;margin: 10px 0px;">共搜索{$count}条记录</div>
    <div class="search_result">
    <volist name="list" id="vo">
		<ul>
        	<li style="color:#4e4e81; font-size:16px;"><a href="__APP__/Store/index/id/{$vo.suser_id}">{$vo.store_name}</a></li>
            <li>经营方式：<if condition="$vo['store_type'] eq 1">门店商<elseif condition="$vo['store_type'] eq 2"/>批发商<else/>服务商</if>    经营类型：{$vo.store_category}  地址：{$vo.store_address}</li>
            <li>商品系列：
            	<if condition="($vo['series_A'] neq '') AND $vo['series_A_show'] eq '0'">
            		{$vo.series_A}
            	</if>
            	<if condition="($vo['series_B'] neq '') AND $vo['series_B_show'] eq '0'">
            		--{$vo.series_B}
            	</if>
            	<if condition="($vo['series_C'] neq '') AND $vo['series_C_show'] eq '0'">
            		--{$vo.series_C}
            	</if>
            	<if condition="($vo['series_D'] neq '') AND $vo['series_D_show'] eq '0'">
            		--{$vo.series_D}
            	</if>
            	<if condition="($vo['series_E'] neq '') AND $vo['series_E_show'] eq '0'">
            		--{$vo.series_E}
            	</if>
            	<if condition="($vo['series_F'] neq '') AND $vo['series_F_show'] eq '0'">
            		--{$vo.series_F}
            	</if>
            	<if condition="($vo['series_G'] neq '') AND $vo['series_G_show'] eq '0'">
            		--{$vo.series_G}
            	</if>
            	<if condition="($vo['series_H'] neq '') AND $vo['series_H_show'] eq '0'">
            		--{$vo.series_H}
            	</if>
            	<if condition="($vo['series_I'] neq '') AND $vo['series_I_show'] eq '0'">
            		--{$vo.series_I}
            	</if>
            	<if condition="($vo['series_J'] neq '') AND $vo['series_J_show'] eq '0'">
            		--{$vo.series_G}
            	</if>
            	<if condition="($vo['series_K'] neq '') AND $vo['series_K_show'] eq '0'">
            		--{$vo.series_K}
            	</if>
            	<if condition="($vo['series_L'] neq '') AND $vo['series_L_show'] eq '0'">
            		--{$vo.series_L}
            	</if>
            	<if condition="($vo['series_M'] neq '') AND $vo['series_M_show'] eq '0'">
            		--{$vo.series_M}
            	</if>
            	<if condition="($vo['series_N'] neq '') AND $vo['series_N_show'] eq '0'">
            		--{$vo.series_N}
            	</if>
            	<if condition="($vo['series_O'] neq '') AND $vo['series_O_show'] eq '0'">
            		--{$vo.series_O}
            	</if>
            	<if condition="($vo['series_P'] neq '') AND $vo['series_P_show'] eq '0'">
            		--{$vo.series_P}
            	</if>
            	<if condition="($vo['series_Q'] neq '') AND $vo['series_Q_show'] eq '0'">
            		--{$vo.series_Q}
            	</if>
            	<if condition="($vo['series_R'] neq '') AND $vo['series_R_show'] eq '0'">
            		--{$vo.series_R}
            	</if>
            	<if condition="($vo['series_S'] neq '') AND $vo['series_S_show'] eq '0'">
            		--{$vo.series_S}
            	</if>
            	<if condition="($vo['series_T'] neq '') AND $vo['series_T_show'] eq '0'">
            		--{$vo.series_T}
            	</if>
            	<if condition="($vo['series_U'] neq '') AND $vo['series_U_show'] eq '0'">
            		--{$vo.series_U}
            	</if>
            	<if condition="($vo['series_V'] neq '') AND $vo['series_V_show'] eq '0'">
            		--{$vo.series_V}
            	</if>
            	<if condition="($vo['series_W'] neq '') AND $vo['series_W_show'] eq '0'">
            		--{$vo.series_W}
            	</if>
            	<if condition="($vo['series_X'] neq '') AND $vo['series_X_show'] eq '0'">
            		--{$vo.series_X}
            	</if>
            	<if condition="($vo['series_Y'] neq '') AND $vo['series_Y_show'] eq '0'">
            		--{$vo.series_Y}
            	</if>
            	<if condition="($vo['series_Z'] neq '') AND $vo['series_Z_show'] eq '0'">
            		--{$vo.series_Z}
            	</if>
            
            </li>
            <li style="color:#3b8241; font-weight:600;">商户代码：{$vo.suser_id} 电话：{$vo.suser_tel}  QQ：{$vo.suser_qq}</li>
        </ul>
    </volist>
    </div>
    <div>
    <div style="width:100%;text-align:right;width: 580px;font-weight:900;">{$page}</div>
    <div class="member">
       	<div class="yangpin">
        	<div class="yangpin_img"><a href="__APP__/Store/index/id/Y000000001"><img width="90px" height="90px"  src="__PUBLIC__/Images/pangxie.jpg"/></a></div>
            <div class="yangpin_canshu">
            	<ul>
                	<li><a style="color:#d6251e" href="__APP__/Store/index/id/Y000000001">螃蟹过(样板店)</a></li>
                    <li>门店ID：Y000000001</li>
                    <li style="color:#d6251e">QQ客服：584229411</li>
                    <li>联系人：许亲农</li>
                </ul>
            </div>
        </div>
        <div class="yangpin">
        	<div class="yangpin_img"><a href="__APP__/Store/index/id/Y000000002"><img width="90px" height="90px" src="__PUBLIC__/Images/jinyu.jpg"/></a></div>
            <div class="yangpin_canshu">
            	<ul>
                	<li><a style="color:#d6251e" href="__APP__/Store/index/id/Y000000002">游泳的鱼(样板店)</a></li>
                    <li>门店ID：Y000000002</li>
                    <li style="color:#d6251e">QQ客服：371396583</li>
                    <li>联系人：戴静</li>
                </ul>
            </div>        
        </div>
    </div>
    <div class="foot">
    <a href=""><span>许可证编号：陕ICP备10200507号-1</span></a><a href=""><span>袁衣一中国&nbsp;&nbsp;&nbsp;版权所有</span></a> <a target="_blank" href="__APP__/Index/about"><span>关于我们</span></a>
   	</div>
   	<div class="flinks"><a href="http://www.2009jsll.com" target="_blank">静水琉璃视觉摄影</a></div>
    
    
</div>
</body>
</html>
